package com.nenude.corejava.ch9.homework;

import java.lang.reflect.Array;
import java.util.Arrays;
import java.util.Random;

public class TestRandom {

	public static void main(String[] args) {
		Random random=new Random();		
		int a[]=new int[10];
		int j=0;
		for(j=0;j<a.length;j++){
			a[j]=Math.round(random.nextInt(101));
		}

		System.out.println();
		Arrays.sort(a);
		for(int e:a){
			System.out.print(e+"\t");
		}
	}//mian

}
